﻿<Window x:Class="PS.Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Pedestrian Simulation" Height="432" Width="400">
    <StackPanel Orientation="Vertical">
        <Label Content="Environment XML Path" Height="28" Name="environmentXmlPathLabel" FontWeight="Bold" />
        <StackPanel Height="43" Orientation="Horizontal">
            <TextBox Height="23" Margin="10" Name="environmentXmlPath" Width="261" IsReadOnly="True" />
            <Button Content="Browse..." Margin="10" Height="23" Name="browsePath" Width="75" Click="browsePath_Click" />
        </StackPanel>
        <Label Content="Controlling Crowds" Height="28" Name="controlsLabel" FontWeight="Bold" />
        <StackPanel Orientation="Horizontal" Height="48">
            <Button Content="Start" Height="23" Name="ToggleRun" Width="75" Margin="10" Click="ToggleRun_Click" />
            <Button Content="Pause" Height="23" Name="Pause" Width="75" Margin="10" Click="TogglePause_Click" />
            <CheckBox Content="Display Waypoints" Height="16" Name="DisplayWaypoints" />
        </StackPanel>
        <Label Content="Simulation Information" Height="28" Name="simulationInfoLabel" FontWeight="Bold" />
        <Grid Height="219" Name="grid1" Width="372">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120*" />
                <ColumnDefinition Width="60" />
                <ColumnDefinition Width="120" />
                <ColumnDefinition Width="60" />
            </Grid.ColumnDefinitions>
            <Label Content="Time Elapsed (ms)" Height="25" HorizontalAlignment="Left" Name="TimeElapsedLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Name="TimeElapsed" VerticalAlignment="Top" Width="60" Margin="0,0,0,0" Grid.Column="1" />
            <Label Content="Pedestrian Count" Height="28" HorizontalAlignment="Left" Margin="0,20,0,0" Name="PedestrianCountLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="0" Height="28" HorizontalAlignment="Right"  Margin="0,20,0,0" Grid.Column="1" Name="PedestrianCount" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrians@home" Height="28" HorizontalAlignment="Left" Margin="0,40,0,0" Name="PedestriansHomeCountLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="0" Height="28" HorizontalAlignment="Right" Margin="0,40,0,0" Grid.Column="1" Name="PedestrianHomeCount" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Min Time" Height="28" HorizontalAlignment="Left" Margin="0,60,0,0" Name="PedestriansMinTimeLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,60,0,0" Grid.Column="1" Name="PedestriansMinTime" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Max Time" Height="28" HorizontalAlignment="Left" Margin="0,80,0,0" Name="PedestriansMaxTimeLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,80,0,0" Grid.Column="1" Name="PedestriansMaxTime" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Avg Time" Height="28" HorizontalAlignment="Left" Margin="0,100,0,0" Name="PedestriansAvgTimeLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,100,0,0" Grid.Column="1" Name="PedestriansAvgTime" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Min Dist." Height="28" HorizontalAlignment="Left" Margin="0,120,0,0" Name="PedestriansMinDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,120,0,0" Grid.Column="1" Name="PedestriansMinDist" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Max Dist." Height="28" HorizontalAlignment="Left" Margin="0,140,0,0" Name="PedestriansMaxDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,140,0,0" Grid.Column="1" Name="PedestriansMaxDist" VerticalAlignment="Top" Width="60" />
            <Label Content="Pedestrian Avg Dist." Height="28" HorizontalAlignment="Left" Margin="0,160,0,0" Name="PedestriansAvgDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,160,0,0" Grid.Column="1" Name="PedestriansAvgDist" VerticalAlignment="Top" Width="60" />

            <Label Content="Min Speed" Height="28" HorizontalAlignment="Left" Margin="0,0,0,0" Grid.Column="2" Name="MinSpeedLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,0,0,0" Grid.Column="4" Name="MinSpeed" VerticalAlignment="Top" Width="60" />
            <Label Content="Max Speed" Height="28" HorizontalAlignment="Left" Margin="0,20,0,0" Grid.Column="2" Name="MaxSpeedLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,20,0,0" Grid.Column="4" Name="MaxSpeed" VerticalAlignment="Top" Width="60" />
            <Label Content="Boor Gentleman (ms)" Height="28" HorizontalAlignment="Left" Margin="0,40,0,0" Grid.Column="2" Name="BoorGentlemanTimeLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,40,0,0" Grid.Column="4" Name="BoorGentlemanTime" VerticalAlignment="Top" Width="60" />
            <Label Content="Gentle Grandma (ms)" Height="28" HorizontalAlignment="Left" Margin="0,60,0,0" Grid.Column="2" Name="GentlemanLikeGrandmaTimeLabel" VerticalAlignment="Top" Width="122" Grid.ColumnSpan="2" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,60,0,0" Grid.Column="4" Name="GentlemanLikeGrandmaTime" VerticalAlignment="Top" Width="60" />

            <Label Content="Ped. Min Initial Dist" Height="28" HorizontalAlignment="Left" Margin="0,120,0,0" Grid.Column="2" Name="PedestriansMinInitialDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,120,0,0" Grid.Column="4" Name="PedestriansMinInitialDist" VerticalAlignment="Top" Width="60" />
            <Label Content="Ped. Max Initial Dist" Height="28" HorizontalAlignment="Left" Margin="0,140,0,0" Grid.Column="2" Name="PedestriansMaxInitialDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,140,0,0" Grid.Column="4" Name="PedestriansMaxInitialDist" VerticalAlignment="Top" Width="60" />
            <Label Content="Ped. Avg Initial Dist" Height="28" HorizontalAlignment="Left" Margin="0,160,0,0" Grid.Column="2" Name="PedestriansAvgInitialDistLabel" VerticalAlignment="Top" Width="160" />
            <Label Content="-" Height="28" HorizontalAlignment="Right" Margin="0,160,0,0" Grid.Column="4" Name="PedestriansAvgInitialDist" VerticalAlignment="Top" Width="60" />
            <Button Content="Export Information" Height="23" Name="ExportStats" Margin="49,186,9,10" Grid.Column="2" Grid.ColumnSpan="2" IsEnabled="False" Click="ExportStats_Click" />
        </Grid>
    </StackPanel>
</Window>
